﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Util
{
    public class ConfigurationDao
    {
        /// <summary>
        /// 午餐最迟报餐时间
        /// </summary>
        public string Lunch { get; set; } = string.Empty;
        /// <summary>
        /// 晚餐最迟报餐时间
        /// </summary>
        public string Dinner { get; set; } = string.Empty;
        /// <summary>
        /// 午餐开始扫码时间
        /// </summary>
        public string LunchStartScan { get; set; } = string.Empty;
        /// <summary>
        /// 午餐结束扫码时间
        /// </summary>
        public string LunchEndScan { get; set; } = string.Empty;
        /// <summary>
        /// 晚餐开始扫码时间
        /// </summary>
        public string DinnerStartScan { get; set; } = string.Empty;
        /// <summary>
        /// 晚餐结束扫码时间
        /// </summary>
        public string DinnerEndScan { get; set; } = string.Empty;
        /// <summary>
        /// 晚餐费用
        /// </summary>
        public string DinnerCost { get; set; } = string.Empty;
        /// <summary>
        /// 晚餐报餐不吃费用
        /// </summary>
        public string voluntarily { get; set; } = string.Empty;
        /// <summary>
        /// 是否配置通行时间
        /// </summary>
        public bool TravelTime { get; set; } = false;

        public List<valid_cycle> cycles = new List<valid_cycle>();
    }
    public class valid_cycle
    {
        public string start_time { get; set; } = string.Empty;
        public string end_time { get; set; } = string.Empty;
    }
}
